		<div class="type-<?=$field->get_class()?><?if($field->has_error()):?> error<?endif?>">
<?/* Display error messages */?>
<?if($field->has_error()):?>
<?foreach($field->get_error() as $error):?>
			<strong class="message"><?=$error->get_message()?></strong>
<?endforeach?>
<?endif?>
<?/* Display label & field */?>
<?=$field->_render()?>

		</div>